home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 May / EnigmA AMIGA RUN 18 (1997)(G.R. Edizioni)(IT)[!][issue 1997-05][EAR-CD II].iso / earcd / dev / debug / rem.lha / Rem.doc < prev   
Text File  |  1997-01-22  |  6KB  |  141 lines

  1. Rem 1.2 (13-2-97) © Frédéric RODRIGUES freeware
  2. the window/screen/library/device/task remover
  3.  
  4. Summary
  5. ~~~~~~~
  6. ATTENTION !
  7. BEGINNING
  8. WHAT IS IT ?
  9. HOW DOES IT WORK ?
  10. TIPS
  11. A LITTLE STORY
  12. REQUIREMENTS
  13. FUTURE ?
  14. LEGAL STUFF
  15. HOW TO REACH ME ?
  16.  
  17. ATTENTION !
  18. ~~~~~~~~~~~
  19. This is a new version of Rem wich replaces v1.1. That had a bug in the
  20. scanning through the lists (forgot one node, sorry). I added acess to task
  21. ready lists.
  22.  
  23. BEGINNING
  24. ~~~~~~~~~
  25. Excuse me for my english but I'm not one (ok je suis français).
  26. It's the first program I put on Aminet.
  27. First of all I don't suggest you read the legal stuff but I tell you it is
  28. at the end of this document (that's the place for a boring thing).
  29. You assume you will read it.
  30.  
  31. WHAT IS IT ?
  32. ~~~~~~~~~~
  33. Rem is a debug utility. For my own I use it to remove the trash window or
  34. task that perturb my work after I got a crash because of my program test.
  35. Yes, if you are a programer I'm sure you understand what I mean and how
  36. usefull it is. Yes, yes, yes I know there is ARTM (by the way
  37. © 1990 - 1994 by D. Jansen & F.J. Mertens) wich does more than my little Rem
  38. but ARTM can't be proud of only 3064 bytes ! (it's 52732 bytes - I don't
  39. tell you how much memory usage is). The other advantage of using Rem is
  40. that it's freeware (ARTM is shareware). No problem with law. Yes Rem is
  41. little and is a cli command too. Why ? Well, when I program I use a cli
  42. window. Nothing more natural to use a debug cli utility. Rem uses only the
  43. amount of memory it's in. No memory for useless gadgets.
  44.  
  45. HOW DOES IT WORK ?
  46. ~~~~~~~~~~~~~~~~~~
  47. Usage : Rem [address]
  48. Read the '.ouput' files.
  49. For :
  50. - a window : it clears its IDCMP port, removes its pointer, menu and closes
  51.   it.
  52. - a screen : it removes it (you cannot close a screen if there are windows
  53.   opened for V36).
  54. - a library : it closes it (how many times it's necessary) and removes it
  55.   from memory.
  56. - a device : it removes it from memory (if possible).
  57. - a task : it removes it from memory (ready tasks are shown first).
  58.  
  59. TIPS
  60. ~~~~
  61. When you start a program from cli, a task whose name is 'CON' is created (if
  62. you run it you'll get 'Background_Cli' task). If your program crashes you
  63. can remove the first 'CON' (or 'Background_Cli' ) task because I notice that
  64. the current shell task is at the bottom of the list. It seems to be general:
  65. the active window is at the bottom too. You may remove the task
  66. 'shell process' associated with your shell window. I could'nt find the name
  67. of the cli process without using some V36 functions and I wanted that my
  68. program ran on all amiga models. Rem is secure : you can give it a wrong
  69. address. If it didn't find the address in its lists it outputs an error
  70. message. Rem handles Ctrl-C and perfectly multitasks.
  71.  
  72. A LITTLE STORY
  73. ~~~~~~~~~~~~~
  74. Now a little story about Rem.
  75. I programed it with E (by the way © Wouter van Oortmerssen). I used 2.1b
  76. version that is freeware. Why E ? Well, like some of us, I tried much
  77. compilers. The problem is that I have a very, very little amiga (an amiga
  78. 600 with no extensions). I've used C because it's the usual machine
  79. language compiler I knew. Before I tried to program in assembler. But it's
  80. difficult for a guy who have no books (only general C books). I got E from
  81. a friend and I put it in the wait list because I found no interest to use
  82. another new language. A coupple of years have been spent and I decided to
  83. retry E. And a magic thing happened to me after I read the docs. I found
  84. the PHILOSOPHAL STONE in it ! I discovered that E was the best (simple,
  85. natural) language I knew in all the world ! In fact E is a high level
  86. language 100% compatible with machine code. Yes ! You can program in
  87. Assembler with E ! And with the registered version (3.22), you can use
  88. objects notions like Eiffel, Ada or C++ does (but better). And the magic
  89. thing is that I succeeded to put all the E system in only one disk ! I used
  90. EPU (by the way © Jaroslav Mechacek) to compress files. The only problem is
  91. that E isn't portable on others systems as far as I know. I don't know if
  92. its autor will make a PC version. But who cares ? Try to port a graphical
  93. amiga program to C. That's impossible ! You can only port simple programs,
  94. with C code only and it's very simple to translate an easy program to E or
  95. C.
  96.  
  97. REQUIREMENTS
  98. ~~~~~~~~~~~~
  99. Rem run on all amiga models (at least 1.3)
  100.  
  101. FUTURE ?
  102. ~~~~~~~~
  103. If somenone put some interest in Rem I can improve it to do a little things
  104. more (it's free). I can't use gadtools stuff because there is ARTM. I can
  105. add for example the ability to flush the vectors (very used by viruses) :
  106. ColdCapture, CoolCapture, WarmCapture, KickMemPtr,KickTagPtr,KickCheckSum.
  107. I can give access to the list of residents, ressources, last guru number ?,
  108. part of memory, put a little more informations on output, interrupts. The
  109. program won't grow because of it.
  110.  
  111. LEGAL STUFF
  112. ~~~~~~~~~~~
  113. I took this from GNU General Public docs. You can use it for your programs.
  114. Do whatever you want with Rem but keep all files together.
  115.  
  116. This program is free software; you can redistribute it and/or modify
  117. it under the terms of the GNU General Public License as published by
  118. the Free Software Foundation; either version 2 of the License, or
  119. (at your option) any later version.
  120.  
  121. This program is distributed in the hope that it will be useful,
  122. but WITHOUT ANY WARRANTY; without even the implied warranty of
  123. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  124. GNU General Public License for more details.
  125.  
  126. You should have received a copy of the GNU General Public License
  127. along with this program; if not, write to the Free Software
  128. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  129.  
  130.  
  131. HOW TO REACH ME ?
  132. ~~~~~~~~~~~~~~~~~
  133. by email : rodrigue@iles.siera.ups-tlse.fr (IP 130.120.84.50)
  134. by mail : Frédéric RODRIGUES
  135.           4 allées Antonio Machado app 3009D
  136.           31100 Toulouse
  137.  
  138. You can't contact me for all that you want even to discuss on a subject or
  139. to know me simplesly. I would like to correspond with some aminet users or
  140. programers. Your response will be appreciated.
  141.